GUI Help > Special > setPanelBorderStyle

setPanelBorderStyle
setPanelBorderStyle handle panelGadget, int borderStyle

Description:
Sets the style of the border which surrounds a panel gadget. The codes for the different kinds of border can be found in the constants file. They are:

  • BORDER_NONE - No border around the gadget.
  • BORDER_FLAT - Single line black border
  • BORDER_3D - Raised 3D border
  • BORDER_SUNKEN - Sunken 3D border


Return Value:


Parameters:
panelGadget Handle to a panel gadget
borderStyle The style of the border (see above)
Remarks:
setPanelBorderStyle will also work with many other, similar gadget types.

See Also:


Example:
(Note: You will need to include the GUI constants file for this example to work)